DevJourney

Python/Basics/Add 2 Lists/add_2_lists.py

#Program to add 2 lists
nc=int(input("Enter number of columns: "))
nR=int(input("Enter number of rows: "))
l1,l2=[],[]

for i in range(nC):
    x=int(input(f'Enter number {i+1}: '))
    l1.append(x)

for i in range(n
    
View on GitHub